package com.example.demo.domain;
import io.swagger.annotations.ApiModelProperty;

import java.sql.Date;

/**
 * 实体 DO（PO）
 * 数据库表结构一致
 */
public class Role {
  @ApiModelProperty(value = "角色id")
    private Integer id;

    @ApiModelProperty(value="角色名称")
    private String name;

    @ApiModelProperty(value="备注")
    private String remarks;

    @ApiModelProperty(value = "创建人")
    private Integer create_by;

    @ApiModelProperty(value = "修改人")
    private Integer update_by;

    @ApiModelProperty(value = "修改时间")
    private Date update_time;

    @ApiModelProperty(value = "创建时间")
    private Date create_time;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Integer getCreate_by() {
        return create_by;
    }

    public void setCreate_by(Integer create_by) {
        this.create_by = create_by;
    }


    public Integer getUpdate_by() {
        return update_by;
    }

    public void setUpdate_by(Integer update_by) {
        this.update_by = update_by;
    }

    public Date getUpdate_time() {
        return update_time;
    }

    public void setUpdate_time(Date update_time) {
        this.update_time = update_time;
    }

    public Date getCreate_time() {
        return create_time;
    }

    public void setCreate_time(Date create_time) {
        this.create_time = create_time;
    }


}
